package com.zjdiepu.www.manage.view;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.zjdiepu.www.base.BaseController;
import com.zjdiepu.www.commpent.ViewScopeControllerHelper;

/**
 * GPS加装Controller层<br/>
 * @author chengliyong<br/>
 * @time 2017年05月11日 20时36分<br/>
 * @since 1.0<br/>
 */
@Controller
@RequestMapping(value= "DzGpsListViewController", produces="text/html;charset=UTF-8")
@Api(tags = {"GPS加装"}, produces="text/html;charset=UTF-8")
public class DzGpsListViewController extends BaseController {
    @Resource
    private ViewScopeControllerHelper viewScopeControllerHelper;
    
    
    /**
     * @author xiongxiaotun <br/>
     * @Title: toInstallGps <br/>
     * @Description: GPS加装 <br/>
     * @param model
     * @return
     * @version V1.0  <br/>
     */
    @ApiOperation(value = "GPS加装", response = Boolean.class, httpMethod="GET", tags={"GPS加装"})
    @RequestMapping(value = "installGps", method = RequestMethod.GET)
    public String toInstallGps(Model model) {
    	viewScopeControllerHelper.preparedAttachmentEnum(model);
    	return "system/loaning/installGps";
    }
}
